import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'animate.css'; // 第三方动画库
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import { createPinia } from 'pinia'
import { createApp } from 'vue'
import VXETable from 'vxe-table'
import 'vxe-table/lib/style.css'
import App from './App.vue'
import './assets/main.css'
import router from './router/index'

const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
} 
app.use(ElementPlus)
app.use(createPinia())
app.use(router) 
app.use(VXETable)
app.mount('#app')